git pull

go build

docker build -t twwch/k8s-admin:master .

docker rm -f k8s-admin

docker run -it -m 1800m --restart=always -d --net=host --name k8s-admin \
        -p 8081:8081 \
        -v /etc/hosts:/etc/hosts \
        -v /var/log/xiaoduo/k8s-admin:/var/log/xiaoduo/k8s-admin \
        -v /opt/k8s-admin/k8s-admin:/app/k8a-admin \
        -v /opt/k8s-admin/apis:/app/apis \
        -v /opt/k8s-admin/config/k8s-admin.toml:/app/config/k8s-admin.toml \
        -e LANG="en_US.UTF-8" \
        twwch/k8s-admin:master

